package com.program.facesigninsystem.service;

import com.program.facesigninsystem.entity.Organization;
import com.program.facesigninsystem.entity.SignInActivity;
import com.program.facesigninsystem.entity.SignInCourse;
import com.program.facesigninsystem.entity.SuperiorsOrganization;
import net.sf.json.JSONObject;

import java.util.ArrayList;
import java.util.List;

public interface ISignInCourseService {
    void addNewCourse(
            String ccid,
            String name,
            String week,
            String section,
            String uid,
            String createtime,
            String signinclass_id,
            String year,
            String semester
    );
    List<SignInCourse> selectbyuid(String uid, int pageSize, int pageNum);

    List<SignInActivity> selectActbyccid(String ccid, int pageSize, int pageNum);

    Boolean deleteCourse(String ccid);

    Boolean applygroup(String oid,String ccid,String createtime);

    Boolean rejectapply(String coid);

    Boolean passapply(String coid);

    Boolean untiebind(String coid);

    List<JSONObject> selectapplyhistory(String oid, int pageSize, int pageNum);

    List<JSONObject> selectbind(String oid, int pageSize, int pageNum);

    public List<JSONObject> selectbindallsubs(String oid, int pageSize, int pageNum);

    List<JSONObject> selectbindbycname(String oid, String name,int pageSize, int pageNum);

    List<JSONObject> selectsup(String ccid, int pageSize, int pageNum);

    List<String> selectlidbyccid(String ccid);

    List<String> selectlidbyactid(String actid);

    SignInCourse selectbyccid(String ccid);
}
